package com.ruoyi.project.countrybus.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 路线站点信息对象 sys_station_route
 * 
 * @author yangwenbo
 * @date 2022-04-26
 */
public class SysStationRoute extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 路线ID */
    private Long routeId;

    /** 站点ID */
    private Long stationId;

    /** 站点纬度坐标 */
    @Excel(name = "站点纬度坐标")
    private BigDecimal latitude;

    /** 站点经度坐标 */
    @Excel(name = "站点经度坐标")
    private BigDecimal longitude;

    /** 站点顺序 */
    @Excel(name = "站点顺序")
    private Long orderNum;

    /** 站点状态（0 起点站，1 中间站，2 终点站，3 弃用） */
    @Excel(name = "站点状态", readConverterExp = "0=,起=点站，1,中=间站，2,终=点站，3,弃=用")
    private Long stationStatus;

    public void setRouteId(Long routeId) 
    {
        this.routeId = routeId;
    }

    public Long getRouteId() 
    {
        return routeId;
    }
    public void setStationId(Long stationId) 
    {
        this.stationId = stationId;
    }

    public Long getStationId() 
    {
        return stationId;
    }
    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }
    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setStationStatus(Long stationStatus) 
    {
        this.stationStatus = stationStatus;
    }

    public Long getStationStatus() 
    {
        return stationStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("routeId", getRouteId())
            .append("stationId", getStationId())
            .append("latitude", getLatitude())
            .append("longitude", getLongitude())
            .append("orderNum", getOrderNum())
            .append("stationStatus", getStationStatus())
            .toString();
    }
}
